package org.boulderfoodrescue.webapp.client.old.pickups;

import org.boulderfoodrescue.webapp.client.googlemap.GoogleMap;
import org.boulderfoodrescue.webapp.shared.Place;

import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.DockLayoutPanel;

public class PickupViewer extends DockLayoutPanel{
  private PickupInfo pInfo = new PickupInfo();
  private PickupDates pDates = new PickupDates();
  public PickupViewer(GoogleMap gMap) {
    super(Unit.PCT);
    this.addNorth(gMap, 50);
    this.addWest(pInfo, 50);
    this.add(pDates);
  }
  public void setPlace(Place place){
    pInfo.setPlace(place);
  }
}
